import request from '@/utils/request'

export const chatGetRecentContactsService = () => {
  return request.get('/chat/api/me/conversation/recent-contacts');
}

export const chatGetConversationMessagesService = (conversationId, lastMinId) => {
  return request.get(`/chat/api/me/conversation/messages/${conversationId}`, 
    { params: {lastMinId} }
  );
}